package ModelLayer;


/**
 * Write a description of class Sample here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Sample
{
    // instance variables
    int barcode, dvdId;
    String titel;
    double price;
    private boolean home;
    /**
     * Constructor for objects of class Sample
     */
    public Sample(int barcode, int dvdId, double price)
    {
       this.barcode = barcode;
       this.dvdId = dvdId;
       this.price = price;
       this.titel = null;
       this.home = true;
    }

    
    public void setDvdId(int dvdId) {
        this.dvdId = dvdId;
    }
    
        public int getDvdId() {
        return dvdId;
    }
    
    public void setBarcode(int barcode) {
        this.barcode = barcode;
    }
    
    public int getBarcode() {
        return barcode;
    }
    
    public void setTitel(String titel) {
        this.titel = titel;
    }
    
    public String getTitel() {
        return titel;
    }
    
    public void setPrice(double price) {
        this.price = price;
    }
    
    public double getPrice() {
        return price;
    }
    
    public boolean isHome(){
        return home;
    }
    
    public void setHomeStatus(boolean isHome){
        this.home = isHome;
    }
    
    
    
}
